package com.zhaoyu.apis.admin;

import com.zhaoyu.model.admin.dtos.SensitiveDto;
import com.zhaoyu.model.admin.pojos.AdSensitive;
import com.zhaoyu.model.common.dtos.ResponseResult;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

@Api(value = "敏感词管理",description = "敏感词管理api接口,提供根据名称分页查询敏感词列表、新增、编辑、删除等功能")
public interface AdSensitiveControllerApis {

        @ApiOperation("根据名称分页查询敏感词列表")
        ResponseResult findByNameAndPageAdSensitive(SensitiveDto sensitiveDto);

        @ApiOperation("新增")
        ResponseResult saveAdSensitive(AdSensitive adSensitive);

        @ApiOperation("编辑")
        ResponseResult updateAdSensitive(AdSensitive adSensitive);

        @ApiOperation("删除")
        ResponseResult deleteByIdAdSensitive(Integer id);

}